<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
function check(){
	alert("클릭");
	window.setTimeout("test1()", 1000 );
//	setInterval(test(),50);
}
function test(){
	alert("asdf111");
}

function test1(){
	alert("ㅁㄴㅇㄻㄴㅇㄹ");
	setTimeout("test1()",1000);
}
</script>
<title>Insert title here</title>
</head>
<body>
<button onclick="check()" >버튼</button>
<button id="btn" name="command" value="go">시작</button>
<button id="btn2" name="command" value="stop">스톱</button>
</body>
</html>